package job_center

type MyListRequest struct {
	Status   int32 `form:"status" binding:"oneof=0 1 2" err:"任务状态参数错误"`
	Page     int32 `form:"page" binding:"min=0" err:"页码参数应该为正整数"`
	PageSize int32 `form:"page_size" binding:"min=0" err:"页大小参数应该为正整数"`
}

type RerunJobRequest struct {
	Id int64 `json:"id" binding:"required" err:"任务id不能为空"`
}
